package com.sinosoft.emplmis.labor.dao;

import com.sinosoft.emplmis.labor.entity.LaborInfoEntity;
import com.sinosoft.emplmis.labor.web.dto.LaborSearchData;

import java.util.List;

public interface LaborInfoEntityMapper {

    int insert(LaborInfoEntity record);
    
    int deleteByPrimaryKey(String laborinfoId);

    List<LaborInfoEntity> selectAll(LaborSearchData data);
    
    List<LaborInfoEntity> selectLoseContact(LaborSearchData data);
    
    LaborInfoEntity selectByPrimaryKey(String laborinfoId);

    int updateByPrimaryKey(LaborInfoEntity record);
    
    int updateLaborInfo(LaborInfoEntity record);
    
    int updateLoseTouch(LaborInfoEntity record);
    
    int count(LaborSearchData data);
    
    int countlose(LaborSearchData data);
}